package com.crdeng.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.crdeng.business.entity.Consumer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crdeng.business.vo.ConsumerVO;
import com.crdeng.business.vo.SupplierQueryMap;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author crdeng
 * @since 2021-02-05
 */
public interface ConsumerService extends IService<Consumer> {

    /*条件查询*/
    IPage<Consumer> findConsumer(Integer pageNun, Integer pageSize, SupplierQueryMap queryMap);

    /*删除*/
    void deleteSupplierById(Long id);

    /*添加*/
    Consumer add(ConsumerVO consumerVO);

    /*编辑*/
    void edit(ConsumerVO consumerVO);
}
